"""
数据嵌套
列表
元组
集合
字典
字典嵌套其他容器
"""
list1=[12,[1232,463],[123,46],[1256,34]]

# for a in list1:
#     for b in a:
#         print(b)
# print(list1[3][2][0])

dict1={
    "aihao":["打球","玩游戏"]
}
print(dict1["aihao"][0])
for e in dict1["aihao"]:
    print(e)

d={
    "student":[
        {
            "name":"张三",
            "aihao":["打球","玩游戏"]
        },
        {
            "name":"李四",
            "age":12
        }
    ]
}
print(A[1]["name"])

